<template>
<div>
<sticky  :check-sticky-support="false" :offset="0">
<tab>
<tab-item  @on-item-click="onItemClick" @click.native="$router.push('/Chatlist')" selected>私信</tab-item>
<!-- <tab-item  @on-item-click="onItemClick" @click.native="$router.push('/Test1')" >提醒</tab-item>
<tab-item  @on-item-click="onItemClick" @click.native="$router.push('/Test')">树洞</tab-item> -->
</tab>
</sticky>

<router-view />
  </div>
</template>
<script scoped>
export default {
    methods: {
    onItemClick (index) {
      console.log('on item click:', index)
    },
  },
  data () {
    return {
      
    }
  }
  
}
</script>